//
//  Tools.m
//  BasketballClub
//
//  Created by 孙鸿吉 on 16/1/15.
//  Copyright © 2016年 孙鸿吉. All rights reserved.
//

#import "Tools.h"
static Tools *tool = nil;

@implementation Tools
+ (Tools *)shareTool
{
    return [[self alloc]init];
}
+ (instancetype)allocWithZone:(struct _NSZone *)zone
{
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        if (tool == nil) {
            tool = [super allocWithZone:zone];
        }
    });
    return tool;
}
@end
